import axios from "./../utils/axiosUtils"

//获取所有服务类型
export const serviceType = (query)=> axios.get(`gen/servicetype?${query}`,)
//所有门店
export const findAllShop = (query)=> axios.get(`gen/shop/findAll?${query}`)

//删除
export const delShop = (data)=> axios.delete(`gen/servicetype/${data}`)

//新增e/15
export const addShop = (data)=> axios.post("gen/servicetype",data)

export const updateShop=(data)=>axios.put('gen/servicetype',data)

//获取商品数据
// /gen/servicetype/statistics

export const statistics = (query)=> axios.get(`gen/servicetype/statistics?${query}`)

//商户项目

export const dictionary=(query)=> axios.get(`gen/dictionary?${query}`)

export const delMsgShop=(query)=> axios.options(`gen/dictionary?${query}`)





